package com.koocloud.electroplatemanage.controller;

import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.service.CurrentLocalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program:
 * @description:
 * @author: wjx
 * @create: 2020-11-23 10:18
 */
@RestController
@RequestMapping("/current")
public class CurrentLocalController {

    @Autowired
    CurrentLocalService currentLocalService;
    @RequestMapping(value = "/selectAllData",method = RequestMethod.POST, name = "查询所有数据")
    public ResponseTemplate selectAllData(){

       return currentLocalService.selectAllData();
    }
}
